package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**   
 * @Title: Entity
 * @Description: tk_index_weight
 * @author onlineGenerator
 * @date 2019-11-25 19:09:24
 * @version V1.0   
 *
 */
@Data
@TableName("tk_index_weight_mirror")
public class TkIndexWeightMirror implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**数据镜像标识:MC+六位年月,如:MC201911*/
	private String mirrorCode;
	/**指标归属*/
	private String indexGroup;
	/**指标类型*/
	private String indexType;
	/**指标编码*/
	private String indexCode;
	/**权重机构*/
	private String orgCode;
	/**指标权重年份*/
	private String weightY;
	/**指标值权重01*/
	private String weightM01;
	/**指标值权重02*/
	private String weightM02;
	/**指标值权重03*/
	private String weightM03;
	/**指标值权重04*/
	private String weightM04;
	/**指标值权重05*/
	private String weightM05;
	/**指标值权重06*/
	private String weightM06;
	/**指标值权重07*/
	private String weightM07;
	/**指标值权重08*/
	private String weightM08;
	/**指标值权重09*/
	private String weightM09;
	/**指标值权重10*/
	private String weightM10;
	/**指标值权重11*/
	private String weightM11;
	/**指标值权重12*/
	private String weightM12;
	/**权重格式(0:不用填写;1:百分比;2:区间)*/
	private Integer weightFormat;
	/**createBy*/
	private String createBy;
	/**createDate*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createDate;
	/**updateBy*/
	private String updateBy;
	/**updateDate*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateDate;

	@TableField(exist = false)
    private List<TkIndexWeightMirror> tkIndexWeightList ;
}
